/*
 * @Author: silence
 * @Date: 2022-05-14 11:31:48
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-05-14 14:12:08
 * @Description: 全局配置config
 */


import 'MyEntityLog.dart';

class AppConfigEntity {
  String? type;
  String? title;
  String? name;
  String? value;

  AppConfigEntity({
    this.type,
    this.title,
    this.name,
    this.value,
  });

  AppConfigEntity.fromJson(Map<String, dynamic> json) {
    type = MyEntityLog.handleString(json, 'type');
    title = MyEntityLog.handleString(json, 'title');
    name = MyEntityLog.handleString(json, 'name');
    value = MyEntityLog.handleString(json, 'value');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['type'] = this.type;
    data['title'] = this.title;
    data['name'] = this.name;
    data['value'] = this.value;
    return data;
  }
}
